package com.mec.taskassign.dao;



import com.mec.taskassign.model.Place;

import java.util.List;

public interface PlaceMapper {
    List <Place> findAllPlaces();
    List<Place> queryPlacesBySearchBox(int start,int number,String inputValue);
    List<Place> queryObligatoryForm(int start,int number);
    List<Place> querySelectableForm(int start,int number);
    List<Place> queryForbiddenForm(int start,int number);
    List<Place> findObligatoryPlaces();
    List<Place> findSelectablePlaces();
    Place getPlaceById(Integer id);
    void delete(Integer id);
    void reset(Place place);

    void addTask(Place place);

    List<Place> queryAllDataFromTable(int start,int number);

    int queryAllCount();
    int queryCertainCount(int pri);
    int querySearchCount(String inputValue);



}
